home *** CD-ROM | disk | FTP | other *** search
/ CD/PC Actual 76 / DVD Actual 1 Marzo 2003.iso / Trial / TurboCAD 7.1 Pro / Data.Cab / F24521_SDKDemo.odl < prev    next >
Encoding:
Microsoft Object Description Language  |  2000-11-10  |  2.0 KB  |  71 lines

  1. // SDKDemo.odl : type library source for OLE Control project.
  2.  
  3. // This file will be processed by the Make Type Library (mktyplib) tool to
  4. // produce the type library (SDKDemo.tlb) that will become a resource in
  5. // SDKDemo.ocx.
  6.  
  7. #include <olectl.h>
  8. #include <idispids.h>
  9.  
  10. [ uuid(A63E6661-C85F-11D0-9B3B-444553540000), version(1.0),
  11.   helpstring("SDKDemo OLE Control module"), control ]
  12. library SDKDEMOLib
  13. {
  14.     importlib(STDOLE_TLB);
  15.     importlib(STDTYPE_TLB);
  16.  
  17.     //  Primary dispatch interface for CSDKDemoCtrl
  18.  
  19.     [ uuid(A63E6662-C85F-11D0-9B3B-444553540000),
  20.       helpstring("Dispatch interface for SDKDemo Control"), hidden ]
  21.     dispinterface _DSDKDemo
  22.     {
  23.         properties:
  24.             // NOTE - ClassWizard will maintain property information here.
  25.             //    Use extreme caution when editing this section.
  26.             //{{AFX_ODL_PROP(CSDKDemoCtrl)
  27.             [id(1)] BSTR FileName;
  28.             [id(2)] BSTR HideLayers;
  29.             [id(DISPID_BACKCOLOR), bindable, requestedit] OLE_COLOR BackColor;
  30.             [id(3)] BSTR AllLayers;
  31.             //}}AFX_ODL_PROP
  32.  
  33.         methods:
  34.             // NOTE - ClassWizard will maintain method information here.
  35.             //    Use extreme caution when editing this section.
  36.             //{{AFX_ODL_METHOD(CSDKDemoCtrl)
  37.             //}}AFX_ODL_METHOD
  38.  
  39.             [id(DISPID_ABOUTBOX)] void AboutBox();
  40.     };
  41.  
  42.     //  Event dispatch interface for CSDKDemoCtrl
  43.  
  44.     [ uuid(A63E6663-C85F-11D0-9B3B-444553540000),
  45.       helpstring("Event interface for SDKDemo Control") ]
  46.     dispinterface _DSDKDemoEvents
  47.     {
  48.         properties:
  49.             //  Event interface has no properties
  50.  
  51.         methods:
  52.             // NOTE - ClassWizard will maintain event information here.
  53.             //    Use extreme caution when editing this section.
  54.             //{{AFX_ODL_EVENT(CSDKDemoCtrl)
  55.             //}}AFX_ODL_EVENT
  56.     };
  57.  
  58.     //  Class information for CSDKDemoCtrl
  59.  
  60.     [ uuid(A63E6664-C85F-11D0-9B3B-444553540000),
  61.       helpstring("SDKDemo Control"), control ]
  62.     coclass SDKDemo
  63.     {
  64.         [default] dispinterface _DSDKDemo;
  65.         [default, source] dispinterface _DSDKDemoEvents;
  66.     };
  67.  
  68.  
  69.     //{{AFX_APPEND_ODL}}
  70. };
  71.